package com.gcu.service.impl;

import com.gcu.Mapper.userMapper;
import com.gcu.pojo.userInfo;
import com.gcu.service.userInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class userInfoServiceImpl implements userInfoService {
    @Autowired
    private userMapper usermapper;

    @Override
    public List<userInfo> selectAllUserinfo() {
        return usermapper.selectAllUserinfo();
    }

    @Override
    public List<userInfo> selectUserInfoByUserid(String userid) {
        return usermapper.selectUserInfoByUserid(userid);
    }

}
